{config_load file="$language/lang.conf" section="articles"} 

{if $TOPICS_HEADING_TITLE}
<p>
{$TOPICS_HEADING_TITLE}
</p>
{/if}

{if $TOPICS_DESCRIPTION}
<p>
{$TOPICS_DESCRIPTION}
</p>
{/if}


<div class="content-block">
	<div class="gray-title-top">
		<div class="b-left"></div>
			<span class="bold tsb">{#text_search#}</span>
		<div class="b-right"></div>
	</div>
	<div class="con-cen">
		<form action="articles.php" method="get">
		<input type="hidden" name="description" value="1" />
		<div class="content-text">
			<p class="advanced-search-form"><span class="text"><input type="text" name="akeywords" /></span><span class="submit "><input type="image" src="{$tpl_path}buttons/ru/button_quick_find.gif" alt="{#text_search#}" title="{#text_search#}" /></span></p>
		</div>
		</form>
	</div>
	<div class="con-foo"><div class="sb-left"></div><div class="sb-right"></div></div>
</div>

{if $no_articles=='true'}
<div class="content-block">
	<div class="gray-title-top">
		<div class="b-left"></div>
			<span class="bold tsb">{$HEADER_TEXT}</span>
		<div class="b-right"></div>
	</div>
	<div class="con-cen">
		<div class="content-text">
			{#text_no_articles#}
		</div>
	</div>
	<div class="con-foo"><div class="sb-left"></div><div class="sb-right"></div></div>
</div>
{else}
<div class="content-block">
	<div class="gray-title-top">
		<div class="b-left"></div>
			<span class="bold tsb">{$HEADER_TEXT}</span>
		<div class="b-right"></div>
	</div>
	<div class="con-cen">
		<div class="content-text">
			{foreach name=aussen item=module_data from=$module_content}
			{php}$col++;{/php}
			<div class="def-column">
				<p class="bold"><a href="{$module_data.ARTICLE_LINK}">{$module_data.ARTICLE_NAME}</a></p>
				<p class="descr">
					{if $module_data.ARTICLE_SHORT_DESCRIPTION}{$module_data.ARTICLE_SHORT_DESCRIPTION}{/if}
				</p>
				<p class="data">
					{if $module_data.ARTICLE_DATE}{#text_date#} {$module_data.ARTICLE_DATE}{/if}
					{if $module_data.AUTHOR_NAME}{#text_author#} <a href="{$module_data.AUTHOR_LINK}">{$module_data.AUTHOR_NAME}</a>{/if}
					{if $module_data.ARTICLE_CATEGORY_NAME}{#text_category#} <a href="{$module_data.ARTICLE_CATEGORY_LINK}">{$module_data.ARTICLE_CATEGORY_NAME}</a>{/if}
				</p>
			</div>
			{php} 
				if ($col>=1) {
					$col=0;
					echo '<div class="clear"></div>';
				}
			{/php}
			{/foreach}
		</div>
	</div>
	<div class="con-foo"><div class="sb-left"></div><div class="sb-right"></div></div>
</div>
<div class="clear"></div>
<div class="page-navigation">
	<p class="nav">{$NAVIGATION_BAR}</p>
	<p class="desc">{$NAVIGATION_BAR_PAGES}</p>
</div>
{/if}